package base.moduleLoader
{
	import spark.modules.Module;
	import mx.events.FlexEvent;
	
	public class BusinessModule extends Module
	{
		private var _businessParams:Object;

		public function get businessParams():Object
		{
			return _businessParams;
		}

		public function set businessParams(value:Object):void
		{
			_businessParams = value;
		}

		public function BusinessModule()
		{
			super();
			this.addEventListener(FlexEvent.CREATION_COMPLETE, createComplete);
		}
		
		protected function businessInitialize():void{
			throw new Error("Please override businessInitialize().");
		}
		
		protected function createComplete(event:FlexEvent):void{
			throw new Error("Please override createComplete().");
		}
	}
}